package com.egg.basic.model.response;

import com.egg.common.core.model.response.BaseResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 图片验证码信息对象
 */
@Data
@ApiModel(value = "图形验证码")
public class CaptchaInfo extends BaseResponse {


    @ApiModelProperty(value = "系统验证码类型")
    private String type;

    @ApiModelProperty(value = "系统是否开启验证码")
    private Boolean enabled;

    @ApiModelProperty(value = "图片验证码唯一标识")
    private String id;

    @ApiModelProperty(value = "图片验证码base64")
    private String base64;

    @ApiModelProperty(value = "失效时间")
    private LocalDateTime expireDate;

    @ApiModelProperty(value = "失效时间 秒")
    private Integer expireSeconds;


}